/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.fleet.entity;

import com.jeeplus.modules.fleet.entity.Motorcade;
import com.jeeplus.modules.fleet.entity.VehicleInformation;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;

/**
 * 车队保险Entity
 * @author 李超辉
 * @version 2019-03-14
 */
public class Surance extends DataEntity<Surance> {
	
	private static final long serialVersionUID = 1L;
	private String pro;		// 项目
	private String code;		// 保险单据号
	private Motorcade cd;		// 车队
	private VehicleInformation cph;		// 车牌号
	private Date tbsj;		// 投保时间
	private String bdh;		// 保单号
	private String bxlx;		// 保险类型
	private String bxgs;		// 保险公司
	private String jjr;		// 保险经纪人
	private String jjrdh;		// 经纪人电话
	private String fzr;		// 投保负责人
	private String be;		// 保额
	private String bf;		// 保费
	private String zffs;		// 支付方式
	private Date sxrq;		// 保险生效日期
	private Date sx;		// 保险失效日期
	private String bm;		// 部门
	
	public Surance() {
		super();
	}

	public Surance(String id){
		super(id);
	}

	@ExcelField(title="项目", align=2, sort=6)
	public String getPro() {
		return pro;
	}

	public void setPro(String pro) {
		this.pro = pro;
	}
	
	@ExcelField(title="保险单据号", align=2, sort=7)
	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}
	
	@ExcelField(title="车队", align=2, sort=8)
	public Motorcade getCd() {
		return cd;
	}

	public void setCd(Motorcade cd) {
		this.cd = cd;
	}
	
	@ExcelField(title="车牌号", align=2, sort=9)
	public VehicleInformation getCph() {
		return cph;
	}

	public void setCph(VehicleInformation cph) {
		this.cph = cph;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelField(title="投保时间", align=2, sort=10)
	public Date getTbsj() {
		return tbsj;
	}

	public void setTbsj(Date tbsj) {
		this.tbsj = tbsj;
	}
	
	@ExcelField(title="保单号", align=2, sort=11)
	public String getBdh() {
		return bdh;
	}

	public void setBdh(String bdh) {
		this.bdh = bdh;
	}
	
	@ExcelField(title="保险类型", align=2, sort=12)
	public String getBxlx() {
		return bxlx;
	}

	public void setBxlx(String bxlx) {
		this.bxlx = bxlx;
	}
	
	@ExcelField(title="保险公司", align=2, sort=13)
	public String getBxgs() {
		return bxgs;
	}

	public void setBxgs(String bxgs) {
		this.bxgs = bxgs;
	}
	
	@ExcelField(title="保险经纪人", align=2, sort=14)
	public String getJjr() {
		return jjr;
	}

	public void setJjr(String jjr) {
		this.jjr = jjr;
	}
	
	@ExcelField(title="经纪人电话", align=2, sort=15)
	public String getJjrdh() {
		return jjrdh;
	}

	public void setJjrdh(String jjrdh) {
		this.jjrdh = jjrdh;
	}
	
	@ExcelField(title="投保负责人", align=2, sort=16)
	public String getFzr() {
		return fzr;
	}

	public void setFzr(String fzr) {
		this.fzr = fzr;
	}
	
	@ExcelField(title="保额", align=2, sort=17)
	public String getBe() {
		return be;
	}

	public void setBe(String be) {
		this.be = be;
	}
	
	@ExcelField(title="保费", align=2, sort=18)
	public String getBf() {
		return bf;
	}

	public void setBf(String bf) {
		this.bf = bf;
	}
	
	@ExcelField(title="支付方式", align=2, sort=19)
	public String getZffs() {
		return zffs;
	}

	public void setZffs(String zffs) {
		this.zffs = zffs;
	}
	
	@JsonFormat(pattern = "yyyy-MM")
	@ExcelField(title="保险生效日期", align=2, sort=20)
	public Date getSxrq() {
		return sxrq;
	}

	public void setSxrq(Date sxrq) {
		this.sxrq = sxrq;
	}
	
	@JsonFormat(pattern = "yyyy-MM")
	@ExcelField(title="保险失效日期", align=2, sort=21)
	public Date getSx() {
		return sx;
	}

	public void setSx(Date sx) {
		this.sx = sx;
	}
	
	@ExcelField(title="部门", align=2, sort=23)
	public String getBm() {
		return bm;
	}

	public void setBm(String bm) {
		this.bm = bm;
	}
	
}